home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Dev
/
Amiga-E
/
E_v3.2a
/
Src
/
Guide
/
except2.e
< prev
next >
Wrap
Text File
|
1994-12-13
|
386b
|
23 lines
ENUM FRED, BARNEY
PROC main()
WriteF('Hello from main\n')
fred()
WriteF('Goodbye from main\n')
ENDPROC
PROC fred() HANDLE
WriteF(' Hello from fred\n')
barney()
Raise(FRED)
WriteF(' Goodbye from fred\n')
EXCEPT
WriteF(' Handler fred: \d\n', exception)
ENDPROC
PROC barney()
WriteF(' Hello from barney\n')
Raise(BARNEY)
WriteF(' Goodbye from barney\n')
ENDPROC